package praktikumid.w06.p4;

public class Spider extends Animal {
	
	public Spider(int noOfLegs) {
		super.setNoOfLegs(noOfLegs);
	}
	
	public void dangle() {
		System.out.println("Dangling...");
	}

	@Override
	public String toString() {
		return "I am a spider!";
	}
	
	public void makeNoise() {
		System.out.println("Hiss!");
	}
	
}
